package com.tengju.settlement.domain.model.account;

import com.tengju.settlement.domain.shared.Amount;
import lombok.Value;

@Value
public class FrozenDetail {

    /**
     * 主键
     */
    private FrozenDetailId id;

    /**
     * idcode
     */
    private UserIdCode idCode;

    /**
     * 业务ID
     */
    private Integer bizId;

    /**
     * 提现周期ID
     */
    private Integer cycleAddId;

    /**
     * 业务类型：服务费申请
     */
    private String bizCode;

    /**
     * 收益账户id
     */
    private AccountId accountId;

    /**
     * 冻结金额
     */
    private Amount freezeAmount;

    /**
     * 1冻结 2解冻
     */
    private FrozenStatus status;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 更新人
     */
    private String updatedBy;
}
